package com.pattern.objectcreator.abstractfactory;

/**
 * @author yangguanzan
 * @date 3/17/22
 * @description
 */
public abstract class BaseBlackHuman implements AbstractHuman {

    /**
     * 人种颜色
     *
     * @return 人种颜色
     */
    @Override
    public String getColor() {
        return "黑色";
    }

    /**
     * 说话
     *
     * @return 说话
     */
    @Override
    public String talk() {
        return "hey world";
    }
}
